import 'package:flutter_easyrefresh/easy_refresh.dart';

class EasyRefreshSetting {
  static final header = ClassicalHeader(
    enableInfiniteRefresh: false,
    refreshText: "继续下拉进行刷新",
    refreshReadyText: "准备刷新",
    refreshingText: "刷新中...",
    refreshedText: "刷新完成",
    refreshFailedText: "刷新失败",
    infoText: "上次更新 %T",
  );

  static final footer = ClassicalFooter(
    enableInfiniteLoad: false,
    loadText: "继续上拉进行加载",
    loadReadyText: "准备加载",
    loadingText: "加载中...",
    loadedText: "加载完成",
    loadFailedText: "加载失败",
    noMoreText: "没有更多了",
    infoText: "上次加载 %T",
    enableHapticFeedback: true,
  );
}
